package com.feng.spring5.bean;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Course {
    private String[] course;
    private List<String > list;
    private Map map;
    private List courseList;
    private String cname;

    public void setCname(String cname) {
        this.cname = cname;
    }

    public void setCourse(String[] course) {
        this.course = course;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMap(Map map) {
        this.map = map;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }

    @Override
    public String toString() {
        return "Course{" +
                "course=" + Arrays.toString(course) +
                ", list=" + list +
                ", map=" + map +
                ", courseList=" + courseList +
                ", cname='" + cname + '\'' +
                '}';
    }
}
